<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/3
 * Time: 11:16
 */

namespace app\admin\model;


use think\Model;

class Position extends Model
{
    public function getProvince(){
        return self::where("pcode",0)->select();
    }

    public function getCityOrArea($pcode){
        return self::where("pcode",$pcode)->select();
    }

}